def {{operationId}}({{#allParams}}{{paramName}}: {{^required}}Option[{{/required}}{{dataType}}{{^required}}]{{/required}}{{^-last}}, {{/-last}}{{/allParams}}): {{>returnTypeOrUnit}}